/**   
* @Title: NettyMarshallingDecoder.java
* @Package com.an.pripro
* @Description: TODO(用一句话描述该文件做什么)
* @author antch,861710865@qq.com   
* @date 2017年8月2日 下午3:21:52
* @version V1.0   
*/


package com.an.pripro;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.marshalling.MarshallingDecoder;
import io.netty.handler.codec.marshalling.UnmarshallerProvider;

/**
* @ClassName: NettyMarshallingDecoder
* @Description: TODO(扩展MarshallingEncoder 和 MarshallingDecoder，将protected方法编程public可以调用<br>消息解码工具类)
* @author antch,861710865@qq.com
* @date 2017年8月2日 下午3:21:52
* 
*/

public class NettyMarshallingDecoder extends MarshallingDecoder {

	public NettyMarshallingDecoder(UnmarshallerProvider provider) {
		super(provider);
		// TODO Auto-generated constructor stub
	}

	public NettyMarshallingDecoder(UnmarshallerProvider provider,int maxObjectSize) {
		super(provider,maxObjectSize);
		// TODO Auto-generated constructor stub
	}
	
	public Object decode(ChannelHandlerContext ctx, ByteBuf in) throws Exception {
		// TODO Auto-generated method stub
		return super.decode(ctx, in);
	}
}
